<script setup>
import empty from '@/assets/img/empty.png'
defineOptions({
  name: 'cartEmpty'
})
</script>

<template>
  <van-empty description="购物车空空如也" :image="empty">
    <button class="btn btn-danger px-3" @click="$router.replace('/home')">
      前往选购
    </button>
  </van-empty>
</template>

<style scoped lang="scss"></style>
